'''
Company: TWL
Author: xue jian
Email: xuejian@kanzhun.com
Date: 2020-11-07 16:10:30
'''
#
# @lc app=leetcode.cn id=789 lang=python3
#
# [789] 逃脱阻碍者
#

# @lc code=start
from typing import List
class Solution:
    def escapeGhosts(self, ghosts: List[List[int]], target: List[int]) -> bool:
        return all([abs(target[0])+abs(target[1]) < abs(ghost[0]-target[0])+abs(ghost[1]-target[1]) for ghost in ghosts])

# @lc code=end

